﻿using System;
using System.Collections.Generic;
using System.Text;

namespace _2023._5._8超市收银系统
{
     class Goods
    {
        public Goods(int price=0, int count=0, string nmae=null, string id=null)
        {
            Price = price;
            Count = count;
            Nmae = nmae;
            Id = id;
        }
        public Goods(Goods p)
        {
            Price = p.Price;
            Count = p.Count;
            Nmae = p.Nmae;
            Id = p.Id;
        }

        public  int Price
        {
            get;
            set;
        }

        public  int Count
        {
            get;
            set;
        }

        public  string Nmae
        {
            get;
            set;
        }

        public  string Id
        {
            get;
            set;
        }
    }
}
